import React from "react";
import asyncComponent from "../components/AsyncComponentFactory";
import Home from "../views/home";
export const routerConfig = [
  {
    path: "/",
    component: Home,
    exact: true
  },
  {
    path: "/editor",
    component: asyncComponent(React.lazy(() => import("../views/editor")))
  },
  {
    path: "/preview",
    component: asyncComponent(React.lazy(() => import("../views/preview")))
  },
  {
    path: "/blueprint",
    component: asyncComponent(React.lazy(() => import("../views/blueprint")))
  }
]